#ifndef ROBOTITEMDIALOG_H
#define ROBOTITEMDIALOG_H

#include <QDialog>
#include <QSpinBox>

#include "RobotItem.h"

namespace Ui {
class RobotItemDialog;
}

class RobotItemDialog : public QDialog
{
    Q_OBJECT

public:
    explicit RobotItemDialog(QWidget *parent = nullptr);
    ~RobotItemDialog();

    RobotBaseData getBaseData() {return m_baseData;}
    RobotNetData getNetData() {return m_netData;}

private:
    Ui::RobotItemDialog *ui;

    RobotBaseData m_baseData;   //基础数据
    RobotNetData m_netData;     //网络数据

};

#endif // ROBOTITEMDIALOG_H
